package com.glodon.paas.account.dao.mongo;

import com.glodon.paas.account.dao.ContactDao;
import com.glodon.paas.account.dao.domain.ContactEntity;
import com.google.code.morphia.query.Query;

public class ContactDaoMongoImpl extends MongoDBDao<ContactEntity, String> implements ContactDao {

	@Override
	public void update(ContactEntity contact) {
		Query<ContactEntity> q = this.createQuery().filter("id =", contact.getId());
		super.update(q, contact);
	}

}
